<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body bgcolor="#ffc0cb">
<div id="app">
    v-text:<span v-text="message"></span>
    <hr>
    v-html:<span v-html="message"></span>
    <hr>
    <input type="checkbox" id="jack" value="Jack" v-model="checkedNames">
    <label for="jack">Jack</label>
    <input type="checkbox" id="john" value="John" v-model="checkedNames">
    <label for="john">John</label>
    <input type="checkbox" id="mike" value="Mike" v-model="checkedNames">
    <label for="mike">Mike</label>
    <hr>
    <span>Checked names: {{ checkedNames }}</span>
    <hr>
    <input type="radio" id="one" value="One" v-model="picked">
    <label for="one">One</label>
    <hr>
    <input type="radio" id="two" value="Two" v-model="picked">
    <label for="two">Two</label>
    <hr>
    <span>Picked: {{ picked }}</span>

</div>
<script src="node_modules/vue/dist/vue.js"></script>
<script>
    var app = new Vue({
        el: '#app',
        data: {
            message: '<h1>hello,vue</h1>',
            checkedNames:['Jack','John'],
            picked:'One'
        },
        created:function(){
            this.picked = "Two"
        },
        mounted:function () {
            // console.log(this)
        }

    })
</script>
</body>
</html>